package com.example.chap9.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Book)实体类
 *
 * @author makejava
 * @since 2024-02-06 15:02:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("")
public class Book implements Serializable {
    private static final long serialVersionUID = 437269612438061018L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String name;

    private Double price;

    private String category;

    private Integer pnum;

    private String imgurl;

    private String description;

    private String author;

    private Integer sales;


}

